#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
@version: ??
@author: happiness
@license: Apache Licence 
@contact: happiness_ws@163.com
@site: 
@software: PyCharm
@file: slim.py
@time: 2017/11/8 15:37
"""
import tensorflow as tf
import tensorflow.contrib.slim as slim

IMAGE_SIZE = 28 * 28

slim.variable("x-input", shape=[None, IMAGE_SIZE], dtype=tf.float32,
              regularizer=slim.l1_l2_regularizer(scale_l1=0.01, scale_l2=0.02), trainable=False)


def inface(input_tensor):
    with slim.arg_scope([slim.conv2d,slim.max_pool2d,slim.avg_pool2d],stride=1,padding="SAME"):
        slim.conv2d(input_tensor,32,[3,3])





def func():
    pass


class Main():
    def __init__(self):
        pass


if __name__ == '__main__':
    pass
